home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / qlib205.zip / QLIB.ZIP / BIN / TASM2OBJ.BAT < prev    next >
DOS Batch File  |  1997-06-04  |  512b  |  26 lines

  1. @echo off
  2. if "%1"=="" goto usage
  3. if exist %1 goto usage
  4. if exist %1.obj del %1.obj
  5. if exist *.tmp del *.tmp
  6.  
  7. pasm %1.asm
  8. if not exist asm.tmp goto end
  9. if not exist _str_.tmp goto end
  10.  
  11. tasm32 /zn /q /m2 /i%qlib%\inc %2 %3 %4 %5 %6 %7 %8 %9 asm.tmp , %1.obj
  12. if not exist %1.obj goto end
  13. goto done
  14.  
  15. :usage
  16. echo Usage : TASM2OBJ file [...] 
  17. echo   file - file to compile to OBJ (do not give .ASM extension)
  18. echo   [...] - options to give to TASM
  19. echo.
  20.  
  21. :done
  22. if exist *.tmp del *.tmp
  23.  
  24. :end
  25.  
  26.